import type { SizeType } from 'antd/lib/config-provider/SizeContext'
export interface GlobalState {
  token: string
  language: string
  assemblySize: SizeType
  theme: themeType
}
export interface themeType {
  colorPrimary: string
  isDark: boolean
  weakOrGray: string
}

// 左侧菜单
export interface MenuState {
  isCollapse: boolean
  menuList: Menu.MenuOptions[]
}

// tabs页签
export interface TabsState {
  tabsActive: string
  tabsList: TabItem[]
}
export interface TabItem {
  label: string
  key: string
}
